package com.zlm.common.entity;

import com.zlm.common.base.BaseEntity;

import java.util.Date;

/**
 * @Author: duyufu
 * @Date: 2019/5/15 18:01
 */
public class BasPostDO extends BaseEntity {

    private static final long serialVersionUID = -5234450020191758749L;
    private Integer postId;

    private String postName;

    private Integer parentId;

    private String tags;

    private String remark;

    private Integer level;

    private Integer category;

    private Integer alive;

    private String createUser;

    private Date createTime;

    private String lastModifyUser;

    private Date lastModifyTime;

    private Integer oldId;

    private Integer oldParentId;

    private Integer postStyle;

    public Integer getPostId() {
        return postId;
    }

    public void setPostId(Integer postId) {
        this.postId = postId;
    }

    public String getPostName() {
        return postName;
    }

    public void setPostName(String postName) {
        this.postName = postName;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getCategory() {
        return category;
    }

    public void setCategory(Integer category) {
        this.category = category;
    }

    public Integer getAlive() {
        return alive;
    }

    public void setAlive(Integer alive) {
        this.alive = alive;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getLastModifyUser() {
        return lastModifyUser;
    }

    public void setLastModifyUser(String lastModifyUser) {
        this.lastModifyUser = lastModifyUser;
    }

    public Date getLastModifyTime() {
        return lastModifyTime;
    }

    public void setLastModifyTime(Date lastModifyTime) {
        this.lastModifyTime = lastModifyTime;
    }

    public Integer getOldId() {
        return oldId;
    }

    public void setOldId(Integer oldId) {
        this.oldId = oldId;
    }

    public Integer getOldParentId() {
        return oldParentId;
    }

    public void setOldParentId(Integer oldParentId) {
        this.oldParentId = oldParentId;
    }

    public Integer getPostStyle() {
        return postStyle;
    }

    public void setPostStyle(Integer postStyle) {
        this.postStyle = postStyle;
    }

    @Override
    public String toString() {
        return "BasPostDO{" +
                "postId=" + postId +
                ", postName='" + postName + '\'' +
                ", parentId=" + parentId +
                ", tags='" + tags + '\'' +
                ", remark='" + remark + '\'' +
                ", level=" + level +
                ", category=" + category +
                ", alive=" + alive +
                ", createUser='" + createUser + '\'' +
                ", createTime=" + createTime +
                ", lastModifyUser='" + lastModifyUser + '\'' +
                ", lastModifyTime=" + lastModifyTime +
                ", oldId=" + oldId +
                ", oldParentId=" + oldParentId +
                ", postStyle=" + postStyle +
                '}';
    }
}
